package com.project.code.luck.entity.po;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.project.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 好运用户 实体
 *
 * @author WangYan
 * @date 2023-05-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Builder
@ApiModel(value = "好运用户 PO")
@TableName(value = "luck_user")
public class LuckUser {

    @ApiModelProperty(value = "id", required =  false)
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户openId", required = true)
    private String openId;

    @ApiModelProperty(value = "用户手机号", required = true)
    private String phoneNum;

    @ApiModelProperty(value = "删除标志：0=未删除，1=已删除", required = true)
    private Integer delFlag;

    @ApiModelProperty(value = "创建时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "创建人", required = true)
    private String createUser;

    @ApiModelProperty(value = "修改时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "修改人", required = true)
    private String updateUser;


}
